<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="News" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xe="http://www.CrossFactory.net/XmlEditor">
	<xs:complexType name="newscontent">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element name="news" type="news" maxOccurs="unbounded" minOccurs="0" xe:defaultOccurs="1" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="news">
		<xs:sequence>
			<xs:group ref="newsgroup" minOccurs="0" maxOccurs="unbounded" />
		</xs:sequence>
	</xs:complexType>
	<xs:group name="newsgroup">
		<xs:choice>
			<xs:element name="newstitle" type="text" minOccurs="0" maxOccurs="1" xe:defaultOccurs="1"/>
			<xs:element name="picture" type="picture" minOccurs="0" maxOccurs="1" xe:defaultOccurs="1" xe:openPropertiesOnCreation="true" />
			<xs:element name="newstext" type="text" minOccurs="0" maxOccurs="1" xe:defaultOccurs="1"/>
			<xs:element name="linkmore" type="linkmore" minOccurs="0" maxOccurs="1" xe:defaultOccurs="1"/>
		</xs:choice>
	</xs:group>
	<xs:complexType name="picture" mixed="false">
		<xs:sequence>
			<xs:element name="uri" type="text" maxOccurs="1" minOccurs="1" xe:property="true" xe:hyperlinkType="localImage" />
			<xs:element name="tooltip" type="text" maxOccurs="1" minOccurs="1" xe:property="true" />
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="linkmore" mixed="false">
		<xs:sequence>
			<xs:element name="href" type="text" maxOccurs="1" minOccurs="1" xe:property="true" xe:hyperlinkType="www" />
			<xs:element name="tooltip" type="text" maxOccurs="1" minOccurs="1" xe:property="true" />
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="text">
		<xs:restriction base="xs:string" />
	</xs:simpleType>	
	<xs:element name="newscontent" type="newscontent"></xs:element>
</xs:schema>